package com.cuijq.ms.flyweight.v3;

import java.awt.Font;
import java.util.ArrayList;
import java.util.List;

/**
 * @author by CuiJQ
 * @Classname Editor
 * @Description Editor Description
 * @Date 2021/5/27 0:03
 */
public class Editor {

  private List<Character> chars = new ArrayList<>();

  public void appendCharacter(char c, Font font, int size, int colorRGB) {
    Character character = new Character(c, font, size, colorRGB);
    chars.add(character);
  }
}
